package com.study.manage.dal;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.study.manage.domain.EvaluateOrg;
import com.study.manage.domain.enumm.LiveDieState;

public interface EvaluateOrgRepository extends PagingAndSortingRepository<EvaluateOrg, Long> {

    int countByEvaluateIdAndState(Long evaluateId, LiveDieState state);

    Page<EvaluateOrg> findByEvaluateId(Long evaluateId, Pageable pageable);


}
